<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>

<jsp:useBean id="alertsBean"
	class="cz.vitsol.dovweb.portlet.alert.AlertBean" scope="request"></jsp:useBean>

<portlet:defineObjects />

<div class="alert-watchdog">

	<input type="hidden" id="alertTitle" name='<portlet:namespace/>alertTitle' value='<%= alertsBean.getFirstTitle() %>'>
	<input type="hidden" id="alertMsg" name='<portlet:namespace/>alertMsg' value='<%= alertsBean.getFirstMsg() %>'>

	<div id="modal-alert"
		style='<%=alertsBean.getAlerts().isEmpty() ? "display: none;" : ""%>'></div>
</div>

